package service;

import pojo.Cart;
import pojo.Order;
import pojo.OrderItem;

import java.util.List;

public interface OrderService {
    public String createOrder(Cart cart,Integer id);

    public List<Order> showAllOrders();

    public void sendOrder(String orderId);

    public List<OrderItem> showOrderDetail(String OrderId);

    public List<Order> showMyOrders(Integer userId);

    public void receiveOrder(String orderId);

    public Object queryUsernameByOrderId(String orderId);
}
